![]() |
PATH![]() |
![]() ![]() |
Draws a beveled outline inside the content area of a modeless dialog box.
pascal OSStatus DrawThemeModelessDialogFrame (
const Rect *inRect,
ThemeDrawState inState);
The DrawThemeModelessDialogFrame function draws a beveled frame, no more than 2 pixels wide, that bounds the window's content area. You can use this function to make a custom modeless dialog box theme-compliant; the Dialog Manager automatically draws the interior frame for standard dialog boxes.
If you use DrawThemeModelessDialogFrame to draw a frame for a modeless dialog box, your application must explicitly invalidate and redraw the frame area if the dialog box is resized.